package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.SetmealGroup;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * company: www.abc.com
 * Author: 29746
 * Create Data: 2020/11/13
 */
public interface SetmealGroupMapper extends BaseMapper<SetmealGroup> {
    @Select("select group_id from t_setmeal_group where setmeal_id=#{setmealId} ")
    Long[] selectBySetmealId(@Param("setmealId") Long setmealId);
}
